//=============================================================================
// TFPortalFailMsg.
//=============================================================================
class TFPortalFailMsg extends LocalMessage;

static function string GetString(
    optional int Switch,
    optional PlayerReplicationInfo RelatedPRI_1,
    optional PlayerReplicationInfo RelatedPRI_2,
    optional Object OptionalObject
    )
{
    if(switch==0) return "Target location blocked";
    else return "Target location"@(switch/48)$"m out of range";
}

defaultproperties
{
     bIsUnique=True
     bIsConsoleMessage=False
     bFadeMessage=True
     DrawColor=(B=0,G=0)
}
